package com.netty.chat.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 消息体
 * @author Administrator
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageRequest {

    /**
     * 发送者id
     */
    private Integer send;

    /**
     * 接收者id
     */
    private Integer receive;

    /**
     * 获取绑定channel的标识符
     */
    private String channelId;

    /**
     * 消息
     */
    private String info;

    /**
     * 消息的类型
     */
    private int messageType;
}
